project(land_graphics)

if(MSVC)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif ()

file(GLOB INCS inc/*.h)
file(GLOB HEADERS src/*.h)
file(GLOB SOURCES src/*.c)
add_library(land_graphics
    ${INCS}
    ${SOURCES}
    ${HEADERS}
    )

target_include_directories(land_graphics PRIVATE src)
target_include_directories(land_graphics PUBLIC inc)

target_link_libraries(land_graphics PUBLIC land_base ${LIB_ZLIB} ${LIB_FREETYPE} ${LIB_PNG})
if(BUILD_SHARED_LIBS)
    target_compile_definitions(land_graphics PUBLIC LAND_GRAPHICS_EXPORTS)
endif()



